package com.taxicalculator.service;

public class CalculatorServiceStub implements ICalculatorService {

	@Override
	public double fuelCost(double distance, double mpg, double cost)
			throws Exception {
		double dist = 125.5;
		double milesPer = 25.9;
		double fuelCost = 3.50;
		double tripCost = (dist/milesPer)*fuelCost;
		return tripCost;
	}

	@Override
	public double costPer(double cost, double people) throws Exception {
		double costGiven = 12.59;
		double peopleGiven = 3;
		double costPerPerson = costGiven/peopleGiven;
		return costPerPerson;
	}

}
